home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Night Owl 6
/
Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso
/
013a
/
hp3drv.zip
/
INSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1991-04-09
|
1KB
|
44 lines
echo off
if :==:%1 goto promo1
if %1==? goto promo1
set src=a
if /%2/==// goto srctodst
if %2==? goto promo1
set src=%2
:srctodst
if not exist %1:\ventura\*.* goto warning
copy %src%:\driver.exe %1:\ventura >nul
%1: >nul
cd \ventura >nul
cls
echo Expanding the HP Series IIID driver files...
echo ...
driver.exe
del %1:\ventura\driver.exe
%src%:
cls
echo HP Series IIID printer driver installed successfully...
goto exit
:warning
rem pause
echo Can not find the %1:\VENTURA subdirectory,
echo please check and try again.
echo .
echo .
rem goto exit
:promo1
echo Installation of the HP Series IIID printer driver for Ventura
echo Publisher DOS/GEM requires the specification of the hard
echo drive containing the \VENTURA subdirectory.
echo .
echo .
echo usage: install [destination drive]
echo destination drive = C D E ...
echo Example: install C
:exit
set src=
echo on